package com.itheima;

import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;

import java.io.IOException;

public class demo02 {
    public static void main(String[] args) throws IOException {
        Document document = Jsoup.connect("https://movie.douban.com/top250?start=50&filter=")
                .maxBodySize(0)
                .userAgent("Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36")
                .timeout(6000)
                .get();

        
    }
}
